package com.bst.framework.config;

import org.springframework.aot.hint.RuntimeHints;
import org.springframework.aot.hint.RuntimeHintsRegistrar;

public class DruidRuntimeHints implements RuntimeHintsRegistrar {
    @Override
    public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
        hints.reflection().registerType(com.alibaba.druid.pool.DruidDataSource.class);
        hints.resources().registerPattern("META-INF/druid/*");
    }
}


